package com.moxiao.yfjh.module.blind.controller.admin.notifymessage.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.moxiao.yfjh.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 相亲通知消息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BlindNotifyMessagePageReqVO extends PageParam {

    @Schema(description = "通知类型 1.提现通知 2.牵线通知 3.打招呼通知 4.活动通知 5.强制配对通知 6.订单通知 7.系统通知 8.喜欢通知", example = "1")
    private String messageType;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "图片", example = "https://www.iocoder.cn")
    private String imgurl;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "跳转链接", example = "https://www.iocoder.cn")
    private String jumpUrl;

    @Schema(description = "业务id", example = "12301")
    private Long bussinessId;

    @Schema(description = "被消息通知的用户", example = "20498")
    private String userId;

    @Schema(description = "消息状态：0=未读，1=已读", example = "2")
    private Integer readStatus;

    @Schema(description = "展示状态：0=不展示，1=展示", example = "1")
    private Byte status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
